package com.example.newspublish.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.newspublish.pojo.entity.SysRole;

import java.util.Map;

public interface SysRoleService extends IService<SysRole> {

    //获取用户的角色数据
    Map<String, Object> getRolesByUserId(String userId);


}
